/**
* @Title: User.java
* @Package com.beetlsql
* @Description: TODO(用一句话描述该文件做什么)
* @author antch,861710865@qq.com
* @date 2017年7月3日 下午5:14:46
* @version V1.0
*/

package com.beetlsql;

import java.util.Date;

/**
 * @ClassName: User
 * @Description: TODO(这里用一句话描述这个类的作用)
 * @author antch,861710865@qq.com
 * @date 2017年7月3日 下午5:14:46
 *
 */

public class User {
	private Integer id;
	private Integer age;
	// 用户角色
	private Integer roleId;
	private String name;
	// 用户名称
	private String userName;
	private Date createDate;
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	public Integer getAge() {
		return age;
	}
	public void setAge(Integer age) {
		this.age = age;
	}
	public Integer getRoleId() {
		return roleId;
	}
	public void setRoleId(Integer roleId) {
		this.roleId = roleId;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getUserName() {
		return userName;
	}
	public void setUserName(String userName) {
		this.userName = userName;
	}
	public Date getCreateDate() {
		return createDate;
	}
	@Override
	public String toString() {
		return "User [id=" + id + ", age=" + age + ", roleId=" + roleId + ", name=" + name + ", userName=" + userName
				+ ", createDate=" + createDate + "]";
	}
	public void setCreateDate(Date createDate) {
		this.createDate = createDate;
	}
}
